// 将整个商品数据,作为一个状态
const state = {
  cartList: []
}

const action = {}

const mutations = {
  change_cartList: (state, payload) => {
    state.cartList = payload
  }
}

export default {
  state,
  action,
  mutations,
  namespaced: true
}
